<template>
	<view class="shareBox">
		<view class="title">
			<span>分享</span>
			<image src="../../static/images/close.png" class="closeImg" mode="" @click="$emit('closeDia')"></image>
		</view>

	
		<view class="userList">
			<view class="list">
				<button open-type="share"></button>
				<image src="../../static/images/share1.png" mode=""></image>
				<view class="">
					微信
				</view>
			</view>
			<view class="list" @click="$Show.show('点击右上角分享到朋友圈')">
				<image src="../../static/images/share2.png" mode=""></image>
				<view class="">
					朋友圈
				</view>
			</view>
		</view>
		<view class="">

		</view>
	</view>
</template>

<script>
	export default {
		props: {

		},
		data() {
			return {
			};
		},
		created() {
		},

		methods: {
			
		}
	}
</script>

<style lang="scss" scoped>
	.shareBox {
		background-color: #fff;
		border-top-left-radius: 30rpx;
		border-top-right-radius: 30rpx;
		padding: 20rpx 10rpx;

		.title {
			display: flex;
			align-items: center;
			justify-content: space-between;
			padding: 0 30rpx;

			.closeImg {
				width: 40rpx;
				height: 40rpx;
			}
		}
	
	.userList {
			margin-top: 40rpx;
			padding: 0 30rpx;
			padding-bottom: 60rpx;
			white-space: nowrap;
			overflow-x: scroll;

			.list {
				display: inline-block;
				margin-right: 50rpx;
				font-size: 24rpx;
				color: #666;
				text-align: center;
				margin-bottom: 20rpx;
				position: relative;

				button {
					position: absolute;
					width: 100%;
					height: 100%;
					background-color: red;
					z-index: 10;
					opacity: 0;
				}

				image {
					width: 80rpx;
					height: 80rpx;
					border-radius: 50%;
				}
			}
		}

	}
</style>
